package controller

import (
	context "context"
	v1 "kratos-realword/api/realworld/v1"
	"kratos-realword/internal/service"
)

type CommentController struct {
	v1.UnimplementedCommentServiceServer

	service *service.CommentService
}

func NewCommentController(service *service.CommentService) *CommentController {
	return &CommentController{service: service}
}

func (controller *CommentController) AddComment(ctx context.Context, req *v1.AddCommentRequest) (*v1.SingleCommentReply, error) {
	return &v1.SingleCommentReply{}, nil
}

func (controller *CommentController) DeleteComment(ctx context.Context, req *v1.DeleteCommentRequest) (*v1.DeleteCommentReply, error) {
	return nil, nil
}

func (controller *CommentController) GetComments(ctx context.Context, req *v1.GetCommentsRequest) (*v1.MultipleCommentReply, error) {
	return nil, nil
}
